//
//  AppDelegate.h
//  ALittleReminder
//
//  Created by George on 11-11-01.
//
//

#import <UIKit/UIKit.h>


@class MainViewController;


@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) MainViewController *viewController;

- (UIViewController *) getTopViewController;
- (NSArray *) getAllAlerts;

- (NSManagedObjectModel *) managedObjectModel;
- (NSManagedObjectContext *) managedObjectContext;
- (NSPersistentStoreCoordinator *) persistentStoreCoordinator;
+ (NSString *) applicationDocumentsDirectory;
+ (AppDelegate *) getInstance;
+ (void) saveManagedObjects;
+ (void) deleteManagedObject:(AlertManagedObject *)objectToDelete;
@end
